﻿using UnityEngine;
using System.Collections;

public abstract class IAIBase
{
    protected readonly OwnerObj ownerObj = null;

    public IAIBase(OwnerObj ownerObj)
    {
        this.ownerObj = ownerObj;
    }

    /// <summary>
    /// 装载
    /// </summary>
    public virtual void Load() { }

    /// <summary>
    /// 卸载
    /// </summary>
    public virtual void Unload() { }

    /// <summary>
    /// 更新
    /// </summary>
    /// <param name="deltaTime"></param>
    public abstract void Update(float deltaTime);
    
}
